package com.lianzai.camera.service;

import com.lianzai.camera.model.CameraInfo;
import com.lianzai.mobile.domain.CommunityInfoDO;
import javafx.scene.Camera;

import java.util.List;
import java.util.Map;

/**
 * 汽车表
 * 
 * @author zb
 * @email 1106900429@qq.com
 * @date 2018-11-30 22:09:40
 */
public interface CameraService {

	CameraInfo getCameraById(Long cameraId);

	CommunityInfoDO getCommunityByCameraId(Long cameraId);

	List<Map> queryAllCameraList();

	int save(CameraInfo cameraInfo);

	int updateCamera(CameraInfo cameraInfo);

	int syncToLocalSystem(long cameraId);

	int delCamera(CameraInfo cameraInfo);

	int updateCameraStatus(long id, int status);

	int updateSyncStatus(CameraInfo cameraInfo);

	Map queryCameraInformationByIp(String cameraIp);

	List<CameraInfo> list(Map<String, Object> map);

	int count(Map<String, Object> map);

}
